//*** Guidance generated code ***//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

using ProjectBase.Core;

namespace $safeprojectname$.Services
{
    /// <summary>
    /// Entity UserProfile.
    /// </summary>
    [Serializable]
    public class UserProfile : Persistent<int>
    {
        public virtual string UserName { get; set; }
        public virtual string ApplicationName { get; set; }
        public virtual bool IsAnonymous { get; set; }
        public virtual DateTime LastActivityDate { get; set; }
        public virtual DateTime LastUpdateDate { get; set; }

        public virtual IDictionary<string, object> SerializedSession { get; set; }

        public virtual byte[] LastBytes { get; set; }

        #region override abstract
        public override string ToDisplay()
        {
            return UserName;
        }

        protected override string GetDomainObjectSignature()
        {
            return UserName;
        }
        #endregion override abstract
    }
}


